<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="/backend/css/font.css">
    <link rel="stylesheet" href="/backend/css/xadmin.css">
    <script src="/backend/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/backend/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <blockquote class="layui-elem-quote">欢迎管理员：
                        <span class="x-red">test</span>！当前时间:{{ moment().format("YYYY-MM-DD HH:MM:SS")}}
                    </blockquote>
                </div>
            </div>
        </div>

        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">新闻详情</div>
                <div class="layui-card-body ">
                    <table class="layui-table">
                        <tbody>
                        <tr>
                            <th>ID</th>
                            <td>{{@ info._id }}</td>
                        </tr>
                        <tr>
                            <th>新闻标题</th>
                            <td>{{ info.title }}</td>
                        </tr>
                        <tr>
                            <th>发布时间</th>
                            <td>{{ moment(info.createdAt).format("YYYY-MM-DD HH:MM:SS") }}</td>
                        </tr>
                        <tr>
                            <th>状态</th>
                            <td>{{ info.isLock == 1? '已锁定': '显示'}}</td>
                        </tr>
                        <tr>
                            <th>分类</th>
                            <td>{{ info.cateInfo[0].cateName }}</td>
                        </tr>
                        <tr>
                            <th>详情</th>
                            <td><pre>{{ info.descption }}</pre></td>
                        </tr>

                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</body>
</html>